/**
* @Depends ksg.base.services.js
*/
$.extend(ksg.services, /** @lends ksg.services# */{
    getArticleCount: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/getArticleCount/" + options.id, success, error, "x" + options.id, options);
    },
    getArticle: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/getArticle/", success, error, "x" + options.id.replace(/-/g, ""), options);
    },
    getArticles: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/getArticles/" + options.id, success, error, "x" + options.id.replace(/-/g, ""), options);
    },
    updateArticle: function (article, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/updateArticle/", success, error, null, article);
    },
    deleteArticle: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/deleteArticle/", success, error, null, options);
    },
    deleteArticleContentFilter: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/deleteArticleContentFilter/", success, error, null, options);
    },
    deleteArticleContentFilter: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/deleteArticleContentFilter/", success, error, null, options);
    },
    deleteArticleAttachmentGroupFile: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/deleteArticleAttachmentGroupFile/", success, error, null, options);
    },
    getArticleAttachmentGroupFiles: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/getArticleAttachmentGroupFiles/" + options.id, success, error, "x" + options.id, options);
    },
    getArticleAttachmentGroups: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/getArticleAttachmentGroups/" + options.id, success, error, "x" + options.id, options);
    }

});

